//路由配置
app.config(function($routeProvider){
    $routeProvider.
        when('/LeaveMsg/add',{
            templateUrl: 'view/leavemsg_add.html'
        }).
        when('/Motto/index',{
            templateUrl: 'view/motto_index.html'
        }).
        when('/Activity/index',{
            templateUrl: 'view/activity_index.html'
        }).
        when('/Activity/get',{
            templateUrl: 'view/activity_get.html'
        }).
        when('/Activity/list',{
            templateUrl: 'view/activity_list.html'
        }).
        when('/Activity/picture',{
            templateUrl: 'view/activity_picture.html'
        }).
        when('/Vip/purchase',{
            templateUrl: 'view/vip_purchase.html'
        }).
        when('/User/bindUsername',{
            templateUrl: 'view/user_bindusername.html'
        }).
        when('/RadioMorning/index',{
            templateUrl: 'view/radio_morning_index.html'
        }).
        when('/BBS/index',{
            templateUrl: 'view/bbs_index.html'
        }).
        when('/RadioEvening/index',{
            templateUrl: 'view/radio_evening_index.html'
        }).
        when('/ShopCart/list',{
            templateUrl: 'view/shopcart_list.html'
        }).
        when('/Share/course',{
            templateUrl: 'view/share_course.html'
        }).
        when('/Share/graduate',{
            templateUrl: 'view/share_graduate.html'
        }).
        when('/Sole/index',{
            templateUrl: 'view/sole_index.html'
        }).
        when('/Sole/statis',{
            templateUrl: 'view/sole_statis.html'
        }).
        when('/Sole/withdraw_log',{
            templateUrl: 'view/sole_withdraw_log.html'
        }).
        when('/Sole/log',{
            templateUrl: 'view/sole_log.html'
        }).
        when('/Sole/gpa',{
            templateUrl: 'view/sole_gpa.html'
        }).
        when('/Sole/deduct',{
            templateUrl: 'view/sole_deduct.html'
        }).
        when('/Sole/withdraw',{
            templateUrl: 'view/sole_withdraw.html'
        }).
        when('/Sole/user_info',{
            templateUrl: 'view/sole_user_info.html'
        }).
        when('/Course/index',{
            templateUrl: 'view/course_index.html'
        }).
        when('/Course/playaudio',{
            templateUrl: 'view/course_play_audio.html'
        }).
        when('/Course/detail',{
            templateUrl: 'view/course_detail.html'
        }).
        when('/Course/free',{
            templateUrl: 'view/course_free.html'
        }).
        when('/Course/free_detail',{
            templateUrl: 'view/course_free_detail.html'
        }).
        when('/User/index',{
            templateUrl: 'view/user_index.html'
        }).
        when('/User/course',{
            templateUrl: 'view/user_course.html'
        }).
        when('/User/2dcode',{
            templateUrl: 'view/user_2dcode.html'
        }).
        when('/User/order',{
            templateUrl: 'view/user_order.html'
        }).
        when('/User/feedback',{
            templateUrl: 'view/user_feedback.html'
        }).
        when('/User/info',{
            templateUrl: 'view/user_info.html'
        }).
        when('/User/score',{
            templateUrl: 'view/user_score.html'
        }).
        otherwise({
            templateUrl: 'view/course_index.html'
        });
});
